<%@ page language="java" pageEncoding="utf-8"%>
<%@page import="com.sci.web.bean.User"%>
<%@page import="com.sci.web.bean.Options"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<base href="<%=basePath%>">

		<title>浙江省创新型企业建设服务网</title>
		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="description" content="This is my page">
		<link href="resource/ext_resource/css/ext-all.css" rel="stylesheet"
			type="text/css" />
		<link href="css/app.css" rel="stylesheet" type="text/css" />
		<link href="css/chxb.css" rel="stylesheet" type="text/css" />
		<link href="css/patch.css" rel="stylesheet" type="text/css" />
		<link href="css/file-upload.css" rel="stylesheet" type="text/css" />
		<link href="css/style.css" rel="stylesheet" type="text/css" />
		<script type="text/javascript" src="Extjs/ext-base.js"></script>
		<script type="text/javascript" src="Extjs/ext-all-debug.js"></script>
		<script type="text/javascript" src="ux/FileUploadField.js"></script>
		<script type="text/javascript" src="ux/SearchField.js"></script>
		<script type="text/javascript" src="ux/MultiFileUploadField.js"></script>
		<script type="text/javascript" src="ux/data-view-plugins.js"></script>
		<script type="text/javascript" src="ux/uxfusionpak-debug.js"></script>
		<script type="text/javascript" src="Extjs/ext-lang-zh-CN.js"></script>
		<script type="text/javascript" src="js/fusion/uxmedia.js"></script>
		<script type="text/javascript" src="js/fusion/uxflash.js"></script>
		<script type="text/javascript" src="js/fusion/uxfusion.js"></script>
		<script type="text/javascript" src="ux/RowExpander.js"></script>
		<script type="text/javascript" src="ux/TabCloseMenu.js"></script>
		<script type="text/javascript" src="ux/ColumnNodeUI.js"></script>
		<script type="text/javascript" src="js/global.js"></script>
		<script type="text/javascript" src="js/research_money.js"></script>
		<script type="text/javascript" src="js/jquery.js"></script>
		<script type="text/javascript" src="js/interface.js"></script>
	<body>
		<%
			User user = (User) session.getAttribute("user");
			//服务器时间

			String serverdate = (String) session.getAttribute("serverdate");

			if (user == null) {
				response.sendRedirect("../login.jsp");
				return;
			}
			//用户的ID信息
			int userId = user.getUser_id();
			//判断企业是否是企业用户还是个人用户
			int user_is_enterprise = user.getUser_is_enterprise();
			//根据role来判断权限，暂时不写
			int user_role = user.getUser_role();
			int user_is_delete = user.getUser_is_delete();
			// user_city = -1 是超级用户
			int user_city = user.getUser_city();
			String username = (String)session.getAttribute("name");
			String xmldata = (String)session.getAttribute("xmldata");
			String xmldatainstry = (String)session.getAttribute("xmldatainstry");
			
			Options op = (Options)session.getAttribute("op");
			
		%>
		<input type="hidden" name="hideusername" id="hideusername"
			value='<%=""%>' />
		<input type="hidden" name="xmldatainstry" id="xmldatainstry"
			value='<%=xmldatainstry%>' />
		<input type="hidden" name="username" id="username"
			value='<%=username%>' />
		<input type="hidden" name="userId" id="userId" value='<%=userId%>' />
		<input type="hidden" name="serverdate" id="serverdate"
			value='<%=serverdate%>' />
		<input type="hidden" name="user_is_enterprise" id="user_is_enterprise"
			value='<%=user_is_enterprise%>' />
		<input type="hidden" name=user_role id="user_role"
			value='<%=user_role%>' />
		<input type="hidden" name="user_is_delete" id="user_is_delete"
			value='<%=user_is_delete%>' />
		<input type="hidden" name="user_city" id="user_city"
			value='<%=user_city%>' />
		<input type="hidden" name="xmldata" id="xmldata"
			value='<%=xmldata%>' />
		<script type="text/javascript" src="js/main/app.js"></script>
		<div id="header" style="text-align: center;">
		<h1
				style="margin: 0; padding: 0; font-size: x-large; background-image: url(image/bg/baner.jpg); background-repeat: no-repeat; height: 100%; width: 100%; background-position: center left; background-color: white">
				&nbsp
			</h1>
			<div class="dock" id="dock">
				<div class="dock-container">
					<a class="dock-item" onclick="exit()" style="CURSOR: hand"><img src="apple/home.png"
							alt="主页"/><span></span>
					</a>
					<a class="dock-item" onclick="ExitExt()" style="CURSOR: hand"><img src="apple/exit.png"
							alt="退出" /><span></span>
					</a>
					<a class="dock-item" href="mailto:baifyou@zju.edu.cn" style="CURSOR: hand"><img src="apple/contact.png"
							alt="联系我们" /><span></span>
					</a>
					<a class="dock-item" onclick="AboutExt()" style="CURSOR: hand"><img src="apple/info.png"
							alt="关于我们" /><span></span>
					</a>
					
				</div>
			</div>		
		</div>
		<script type="text/javascript">
	$(document).ready(
		function()
		{
			$('#dock').Fisheye(
				{
					maxWidth: 33,
					items: 'a',
					itemsText: 'span',
					container: '.dock-container',
					itemWidth: 50,
					proximity: 90,
					halign : 'center'
				}
			)
		}
	);
</script>
		<div id='west-div'></div>
		<div id='upwin'>
			<iframe name="hidden_frame" id="hidden_frame" style="display: none"></iframe>
		</div>
	</body>
</html>